'use strict';

var _interopRequireDefault = require('@babel/runtime/helpers/interopRequireDefault');
Object.defineProperty(exports, '__esModule', {
  value: true,
});
exports.default = void 0;
var _objectSpread2 = _interopRequireDefault(
  require('@babel/runtime/helpers/objectSpread2'),
);
var _react = _interopRequireDefault(require('react'));
var _antd = require('antd');
require('./index.css');
var _default = (exports.default = function _default(props) {
  return /*#__PURE__*/ _react.default.createElement(
    'div',
    {
      className: 'switch-root',
    },
    /*#__PURE__*/ _react.default.createElement(
      _antd.Switch,
      (0, _objectSpread2.default)({}, props),
      props.children,
    ),
  );
});
